package org.csmz.class2333;

public class Example14 {
    public static void main(String[] args){
        int sum = 0;
        for(int i =0; i<=100; i++){
            sum += i;
            if(i>=50){
                break;
            }
            System.out.println();
        }
        System.out.println(sum);


    }
}
